import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /site/updateList/{siteId}
 */
export function getSiteUpdateListBySiteId(params: GetSiteUpdateListBySiteIdParams, config?: AxiosRequestConfig) {
    return request.get<DeepRequired<any>>(`/site/updateList/${params.siteId}`, config);
}

export interface GetSiteUpdateListBySiteIdParams {
    siteId: number;
}
